package com.ctl.starter.all;
import lombok.extern.slf4j.Slf4j;
import org.springframework.context.ResourceLoaderAware;
import org.springframework.core.io.ResourceLoader;
import org.springframework.stereotype.Component;

@Slf4j
@Component
public class CustomerResourceLoaderAware implements ResourceLoaderAware {

    private ResourceLoader resourceLoader;

    @Override
    public void setResourceLoader(ResourceLoader resourceLoader) {
        log.debug("CustomerResourceLoaderAware.setResourceLoader.resourceLoader={}",resourceLoader);
        this.resourceLoader = resourceLoader;
    }

}